<template>
	<view class="content">
		<view class="dialog" v-if="isshowDilog">
			<view class="mask"></view>
			<view class="cont">
				<view class="top">
					<view class="left" @click.native="showDilog">暂不设置</view>
					<view class="center">选择年级</view>
				</view>
				<view class="row">
					<view class="gender">一年级</view>
					<view class="gender">二年级</view>
					<view class="gender">三年级</view>
				</view>
				<view class="row">
					<view class="gender">四年级</view>
					<view class="gender">五年级</view>
					<view class="gender">六年级</view>
				</view>
				<button class="btn-confirm">确认</button>
			</view>
		</view>
		<view class="main">
			<view class="item">
				<image src="/static/logo.png" class="img"></image>
				<view class="choose">小红</view>
				<view class="choose">一年级</view>
			</view>
			<view class="item">
				<view class="icon1"></view>
				<text class="mark">历史记录</text>
				<view class="icon2"></view>
				<text class="mark">反馈</text>
			</view>
		</view>
		<view class="footer"></view>
		<button class="btn-confirm">推荐给好友</button>
	</view>
</template>

<script>
export default {
	data() {
		return {
			title: '作业检查',
			isshowDilog: true
		};
	},
	onLoad() {},
	methods: {
		showDilog() {
			this.isshowDilog = false;
		}
	}
};
</script>

<style>
/* .content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
} */

.logo {
	height: 200rpx;
	width: 200rpx;
	margin-top: 200rpx;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 50rpx;
}

.text-area {
	display: flex;
	justify-content: center;
}

.title {
	font-size: 36rpx;
	color: #8f8f94;
}

.mask {
	position: fixed;
	top: 0%;
	right: 0%;
	left: 0%;
	bottom: 0%;
	background-color: rgba(0, 0, 0, 0.6);
}
.cont {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #fff;
	border-radius: 20rpx;
	margin-top: 20rpx;
}
.top {
	position: relative;
	margin-top: 5%;
}
.top .left {
	position: absolute;
	color: #999;
	left: 2%;
	font-size: 24rpx;
}
.center {
	text-align: center;
	font-size: 40rpx;
	font-weight: 700;
}
.row {
	display: flex;
	justify-content: space-between;
	padding: 0 50rpx;
	margin-top: 50rpx;
}
.row .gender {
	width: 150rpx;
	background-color: #f7f9fa;
	line-height: 80rpx;
	text-align: center;
	border-radius: 50%;
}
.btn-confirm {
	width: 90%;
	margin-top: 30rpx;
	border-radius: 50rpx;
	background-color: #108dff;
	color: #fff;
}
.main {
	position: relative;
	display: flex;
	justify-content: space-between;
	padding-bottom: 20rpx;
}
.main .img {
	position: absolute;
	left: 2%;
	top: 10%;
	width: 120rpx;
	height: 120rpx;
	border-radius: 50%;
}
.choose {
	margin: 25rpx 180rpx;
}
.mark {
	margin-right: 50rpx;
}
.item:nth-child(2) {
	position: relative;
	margin-top: 80rpx;
}
.item .icon1 {
	position: absolute;
	width: 80rpx;
	height: 80rpx;
	background-color: pink;
	border-radius: 50%;
	right: 68%;
	top: -100%;
}
.item .icon2 {
	position: absolute;
	width: 80rpx;
	height: 80rpx;
	background-color: pink;
	border-radius: 50%;
	right: 17%;
	top: -100%;
}
.footer {
	width: 400rpx;
	height: 400rpx;
	border-radius: 50%;
	background-color: #108dff;
	margin: 100rpx auto;
}
</style>
